<!DOCTYPE html>
<html>
<head>
	<title>E8NET</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <include file="./App/Admin/View/Include/css.html" />
    <link rel="stylesheet" href="__PUBLIC__/Admin/css/compiled/tables.css" type="text/css" media="screen" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>

    <include file="./App/Admin/View/Include/navbar.html" />
    <include file="./App/Admin/View/Include/menu.html" />


	<!-- main container -->
    <div class="content">

        <div role="breadcrumb">
            <ol class="breadcrumb">
              <li><a href="#">网站管理</a> / </li>
              <li><a href="{:U('Sadmin/index')}">管理员管理</a> / </li>
              <li class="active">管理员列表</li>
            </ol>
        </div>

        <div class="container-fluid">
            <div id="pad-wrapper">

                <!-- users table -->
                <div class="table-wrapper users-table section">
                    <div class="row-fluid head">
                        <div class="span12 head-pancel">
                            管理员管理
                        </div>
                    </div>

                    <div class="row-fluid filter-block">
                        <div class="pull-right">
                            <a href="{:U('Sadmin/add')}" class="btn-flat pull-right white new-product add-user">+ 添加管理员</a>
                        </div>
                    </div>

                    <div class="row-fluid">
                        <table class="table table-hover">
                            <thead>
                            <tr>
                                <th class="span1">ID</th>
                                <th class="span1">头像</th>
                                <th class="span4">
                                    <span class="line">账号/姓名
                                </th>
                                <th class="span3">
                                    <span class="line"></span>联系电话
                                </th>
                                <th class="span3">
                                    <span class="line"></span>LAST LOGIN TIME
                                </th>
                                <th class="span3">
                                    <span class="line"></span>LAST LOGIN IP
                                </th>
                                <th class="span2 align-right">
                                    <span class="line"></span>ACTION
                                </th>
                            </tr>
                            </thead>
                            <tbody>
                            <volist name="sadminList" id="sadmin" >
                                <tr>
                                    <td>{$sadmin.id}</td>
                                    <td>
                                        <img style="width:45px; height:45px;" src="{$sadmin.photo}" class="img-circle" />
                                    </td>
                                    <td>
                                        <a href="#" >{$sadmin.account}</a> <br />
                                        <span class="subtext">{$sadmin.tname}</span>
                                    </td>
                                    <td>{$sadmin.telphone}</td>
                                    <td>{$sadmin.last_login_time}</td>
                                    <td>{$sadmin.last_login_ip}</td>
                                    <td class="align-right">
                                        <a href="{:U('Sadmin/edit',array('id'=>$sadmin['id']))}">编辑</a>&nbsp;
                                        <a href="javascript:void(0);" onclick="sshow('__APP__/Sadmin/del/id/{$sadmin.id}','对应管理员将被删除')">删除</a>
                                    </td>
                                </tr>
                            </volist>
                            </tbody>
                        </table>
                    </div>
                </div>
                <!-- end users table -->

                <div class="row ctrls">
                    <div class="pagination pull-right">
                        <ul>
                            {$page}
                        </ul>
                    </div>
                </div>

            </div>
        </div>
    </div>
    <!-- end main container -->

	<include file="./App/Admin/View/Include/js.html" />

</body>
</html>